.class Lcom/example/m6wmr/EditeAddressActivity$7;
.super Ljava/lang/Object;
.source "EditeAddressActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/EditeAddressActivity;->uploadAddress()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/EditeAddressActivity;

.field private final synthetic val$issex:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    iput-object p2, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->val$issex:Ljava/lang/String;

    .line 489
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 495
    iget-object v4, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    const-string v5, "userInfo"

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/example/m6wmr/EditeAddressActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 496
    .local v1, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v4, "uid"

    const-string v5, ""

    invoke-interface {v1, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 497
    .local v2, "uid":Ljava/lang/String;
    const-string v4, "pass"

    const-string v5, ""

    invoke-interface {v1, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 501
    .local v0, "pwd":Ljava/lang/String;
    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    iget-object v5, v5, Lcom/example/m6wmr/EditeAddressActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v5}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "/index.php?ctrl=app&action=addaddress&uid="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 502
    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&pwd="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&datatype=json"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&phone="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->phoneNumber:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$11(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&contactname="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->name:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$12(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 503
    const-string v5, "&sex="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->val$issex:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&bigadr="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->addressStr:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$19(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 504
    const-string v5, "&default="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&detailadr="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->gatehao:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$14(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&lat="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->lat:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$20(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&lng="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->lng:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$21(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&addresid="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->id:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$22(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 501
    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 506
    .local v3, "url":Ljava/lang/String;
    const-string v4, "LLLLLLLLLLLLLLLLLL"

    invoke-static {v4, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 508
    iget-object v4, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    iget-object v5, v5, Lcom/example/m6wmr/EditeAddressActivity;->m:Lmyapp/MyApp;

    invoke-static {v3, v5}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$23(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V

    .line 509
    const-string v4, "xxxxxxxxxxxxxxxxxxx"

    iget-object v5, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    # getter for: Lcom/example/m6wmr/EditeAddressActivity;->gethttpsString:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/EditeAddressActivity;->access$16(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 512
    iget-object v4, p0, Lcom/example/m6wmr/EditeAddressActivity$7;->this$0:Lcom/example/m6wmr/EditeAddressActivity;

    iget-object v4, v4, Lcom/example/m6wmr/EditeAddressActivity;->h:Landroid/os/Handler;

    const/4 v5, 0x2

    invoke-virtual {v4, v5}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 514
    return-void
.end method
